package exception;

public class HTTPClientException extends RuntimeException {

	/**    
	* @Fields serialVersionUID : TODO    
	*/
	private static final long serialVersionUID = 2332608236621015981L;
    
	private String code;
    
	public HTTPClientException() {
		super();
	}

	public HTTPClientException(String message) {
		super(message);
	}

	public HTTPClientException(String code, String message) {
		super(message);
		this.code = code;
	}

	public HTTPClientException(Throwable cause) {
		super(cause);
	}

	public HTTPClientException(String message, Throwable cause) {
		super(message, cause);
	}

	public HTTPClientException(String code, String message, Throwable cause) {
		super(message, cause);
		this.code = code;
	}

	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}
}
